﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace Friedlich.Common
{
    public class ContactList : List<Contact>
    {

        public Contact GetContactByEmail(string email) {
            return this.FirstOrDefault<Contact>(x => x.Emails.Contains(email));            
        }

        public Contact GetContactBySHA1(string hash) {
            Contact contact = null;             
            return contact;
        }

    }
}
